package com.ashen.study.aop.patterns;

import com.ashen.study.aop.patterns.impl.ProxyImpl;
import com.ashen.study.aop.patterns.impl.SubjectImpl;

/**
 * @author hxl
 * @Classname Client
 * @Description 静态代理:1.方法越多重复代码越多
 * @Date 2019/9/24 16:19
 */
public class Client {
    public static void main(String[] args) {
        Subject subject = new ProxyImpl(new SubjectImpl());
        subject.access();
    }
}
